<% content_for :top_menu do %>
  <%= link_to "Добавить", new_admin_category_path %>
  <%= link_to "Назад", admin_root_path %>
<% end %>

<table>
  <tbody>
    <%= render :partial => 'category', :collection => @categories %>
  </tbody>
</table>
